package com.bright.springboot.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author Bright·SZ(zhanming.szm@alibaba-inc.com)
 * @Date 2019/7/16
 * @Description
 **/
@Component
@ConfigurationProperties(prefix = "app")
public class AppConfiguration {

    private String version;

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}
